package com.core.zyyz.amc.modules.domain;

import java.util.Date;

import com.core.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 附件、注释对象 amc_system_attachments_b
 *
 * @author lfs
 * @date 2024-12-06
 */
public class AmcSystemAttachmentsB extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表id */
    private String attachmentId;

    /** 附件关联业务编码 */
    @Excel(name = "附件关联业务编码")
    private String baseBusinessCode;

    /** 功能定义编号 */
    @Excel(name = "功能定义编号")
    private String baseBusinessNode;

    /** 功能定义名称 */
    @Excel(name = "功能定义名称")
    private String baseBusinessName;

    /** 项目立项编号 */
    @Excel(name = "项目立项编号")
    private String projectNumber;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 注释 */
    @Excel(name = "注释")
    private String DESCRIPTION;

    /** 附件链接 */
    @Excel(name = "附件链接")
    private String attachUrl;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fileName;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String fileType;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private Long fileSize;

    /** 绝对路径 */
    @Excel(name = "绝对路径")
    private String absoluteUrl;

    /** 文件排序 */
    @Excel(name = "文件排序")
    private Long sequenceNumber;

    /** 文件类别代码 */
    @Excel(name = "文件类别代码")
    private String fileCategoryCode;

    /** 文件类别名称 */
    @Excel(name = "文件类别名称")
    private String fileCategoryName;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private String ATTRIBUTE1;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private String ATTRIBUTE2;

    /** 预留字段3 */
    @Excel(name = "预留字段3")
    private String ATTRIBUTE3;

    /** 负责人编号 */
    @Excel(name = "负责人编号")
    private String ownerId;

    /** 负责人名称 */
    @Excel(name = "负责人名称")
    private String ownerName;

    /** 负责人部门编号 */
    @Excel(name = "负责人部门编号")
    private String owningBusinessUnit;

    /** 负责人部门名称 */
    @Excel(name = "负责人部门名称")
    private String owningUnitName;

    /** 创建人编号 */
    @Excel(name = "创建人编号")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationDate;

    /** 最后一次修改人编号 */
    @Excel(name = "最后一次修改人编号")
    private String lastUpdatedBy;

    /** 最后一次修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后一次修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    /** 最后登录人编号 */
    @Excel(name = "最后登录人编号")
    private String lastUpdateLogin;

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String assetNumber;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetName;

    public void setAttachmentId(String attachmentId)
    {
        this.attachmentId = attachmentId;
    }

    public String getAttachmentId()
    {
        return attachmentId;
    }
    public void setBaseBusinessCode(String baseBusinessCode)
    {
        this.baseBusinessCode = baseBusinessCode;
    }

    public String getBaseBusinessCode()
    {
        return baseBusinessCode;
    }
    public void setBaseBusinessNode(String baseBusinessNode)
    {
        this.baseBusinessNode = baseBusinessNode;
    }

    public String getBaseBusinessNode()
    {
        return baseBusinessNode;
    }
    public void setBaseBusinessName(String baseBusinessName)
    {
        this.baseBusinessName = baseBusinessName;
    }

    public String getBaseBusinessName()
    {
        return baseBusinessName;
    }
    public void setProjectNumber(String projectNumber)
    {
        this.projectNumber = projectNumber;
    }

    public String getProjectNumber()
    {
        return projectNumber;
    }
    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }
    public void setDESCRIPTION(String DESCRIPTION)
    {
        this.DESCRIPTION = DESCRIPTION;
    }

    public String getDESCRIPTION()
    {
        return DESCRIPTION;
    }
    public void setAttachUrl(String attachUrl)
    {
        this.attachUrl = attachUrl;
    }

    public String getAttachUrl()
    {
        return attachUrl;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getFileType()
    {
        return fileType;
    }
    public void setFileSize(Long fileSize)
    {
        this.fileSize = fileSize;
    }

    public Long getFileSize()
    {
        return fileSize;
    }
    public void setAbsoluteUrl(String absoluteUrl)
    {
        this.absoluteUrl = absoluteUrl;
    }

    public String getAbsoluteUrl()
    {
        return absoluteUrl;
    }
    public void setSequenceNumber(Long sequenceNumber)
    {
        this.sequenceNumber = sequenceNumber;
    }

    public Long getSequenceNumber()
    {
        return sequenceNumber;
    }
    public void setFileCategoryCode(String fileCategoryCode)
    {
        this.fileCategoryCode = fileCategoryCode;
    }

    public String getFileCategoryCode()
    {
        return fileCategoryCode;
    }
    public void setFileCategoryName(String fileCategoryName)
    {
        this.fileCategoryName = fileCategoryName;
    }

    public String getFileCategoryName()
    {
        return fileCategoryName;
    }
    public void setATTRIBUTE1(String ATTRIBUTE1)
    {
        this.ATTRIBUTE1 = ATTRIBUTE1;
    }

    public String getATTRIBUTE1()
    {
        return ATTRIBUTE1;
    }
    public void setATTRIBUTE2(String ATTRIBUTE2)
    {
        this.ATTRIBUTE2 = ATTRIBUTE2;
    }

    public String getATTRIBUTE2()
    {
        return ATTRIBUTE2;
    }
    public void setATTRIBUTE3(String ATTRIBUTE3)
    {
        this.ATTRIBUTE3 = ATTRIBUTE3;
    }

    public String getATTRIBUTE3()
    {
        return ATTRIBUTE3;
    }
    public void setOwnerId(String ownerId)
    {
        this.ownerId = ownerId;
    }

    public String getOwnerId()
    {
        return ownerId;
    }
    public void setOwnerName(String ownerName)
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName()
    {
        return ownerName;
    }
    public void setOwningBusinessUnit(String owningBusinessUnit)
    {
        this.owningBusinessUnit = owningBusinessUnit;
    }

    public String getOwningBusinessUnit()
    {
        return owningBusinessUnit;
    }
    public void setOwningUnitName(String owningUnitName)
    {
        this.owningUnitName = owningUnitName;
    }

    public String getOwningUnitName()
    {
        return owningUnitName;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreationDate(Date creationDate)
    {
        this.creationDate = creationDate;
    }

    public Date getCreationDate()
    {
        return creationDate;
    }
    public void setLastUpdatedBy(String lastUpdatedBy)
    {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public String getLastUpdatedBy()
    {
        return lastUpdatedBy;
    }
    public void setLastUpdateDate(Date lastUpdateDate)
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate()
    {
        return lastUpdateDate;
    }
    public void setLastUpdateLogin(String lastUpdateLogin)
    {
        this.lastUpdateLogin = lastUpdateLogin;
    }

    public String getLastUpdateLogin()
    {
        return lastUpdateLogin;
    }
    public void setAssetNumber(String assetNumber)
    {
        this.assetNumber = assetNumber;
    }

    public String getAssetNumber()
    {
        return assetNumber;
    }
    public void setAssetName(String assetName)
    {
        this.assetName = assetName;
    }

    public String getAssetName()
    {
        return assetName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("attachmentId", getAttachmentId())
                .append("baseBusinessCode", getBaseBusinessCode())
                .append("baseBusinessNode", getBaseBusinessNode())
                .append("baseBusinessName", getBaseBusinessName())
                .append("projectNumber", getProjectNumber())
                .append("projectName", getProjectName())
                .append("DESCRIPTION", getDESCRIPTION())
                .append("attachUrl", getAttachUrl())
                .append("fileName", getFileName())
                .append("fileType", getFileType())
                .append("fileSize", getFileSize())
                .append("absoluteUrl", getAbsoluteUrl())
                .append("sequenceNumber", getSequenceNumber())
                .append("fileCategoryCode", getFileCategoryCode())
                .append("fileCategoryName", getFileCategoryName())
                .append("ATTRIBUTE1", getATTRIBUTE1())
                .append("ATTRIBUTE2", getATTRIBUTE2())
                .append("ATTRIBUTE3", getATTRIBUTE3())
                .append("ownerId", getOwnerId())
                .append("ownerName", getOwnerName())
                .append("owningBusinessUnit", getOwningBusinessUnit())
                .append("owningUnitName", getOwningUnitName())
                .append("createdBy", getCreatedBy())
                .append("creationDate", getCreationDate())
                .append("lastUpdatedBy", getLastUpdatedBy())
                .append("lastUpdateDate", getLastUpdateDate())
                .append("lastUpdateLogin", getLastUpdateLogin())
                .append("assetNumber", getAssetNumber())
                .append("assetName", getAssetName())
                .toString();
    }
}
